home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / ab20 / ab20_archive / games / strategy / bridge-1.03.lzh / Bridge_1.03 / Bridge.doc < prev    next >
Text File  |  1992-01-21  |  9KB  |  242 lines

  1. ========================================================================
  2. =----------------------- Amiga Bridge v 1.03 --------------------------=
  3. =----------------------------------------------------------------------=
  4. =------------------------ (C) Erik Bergersjö --------------------------=
  5. =----------------------------------------------------------------------=
  6. =-------------------------- Documentation -----------------------------=
  7. =----------------------------------------------------------------------=
  8. =--------------------------- 20 Jan 1992 ------------------------------=
  9. ========================================================================
  10.  
  11. What is Amiga Bridge v 1.03?
  12. ----------------------------
  13.  
  14. As you might have guessed, Amiga Bridge is an Amiga program that plays
  15. the game bridge. It supports a subset of the bidding system described
  16. by Eric Jannersten in his books "Bridge från grunden" and "Systemet i
  17. ett nötskal" (I don't know their english titles, if any).
  18. As far as I know, this is the first non-commercial bridge program
  19. available for the Amiga. In my opinion it compares well with the
  20. commercial ones :-) , especially when the user interface is concerned.
  21. I admit the documentation might be a bit sparse, but who reads lengthy
  22. documentation files anyway?
  23.  
  24.  
  25. Included files
  26. --------------
  27.  
  28. Bridge.doc        This very file.
  29. Bridge.doc.info        Icon to this file.
  30. Normal_Version        Directory for normal (MC68000) version.
  31. -  Bridge        The executable file.
  32. -  Bridge.info        A beautiful icon (guess who made it?).
  33. -  Bridge.prefs        Default settings (not required, save your own).
  34. Normal_Version.info    Icon for directory.
  35. Turbo_Version        Directory for turbo (MC68020) version.
  36. -  Bridge        The executable file, turbo version.
  37. -  Bridge.info        Nice icon for executable.
  38. -  Bridge.prefs        Default settings (not required, save your own).
  39. Turbo_Version.info    Icon for directory.
  40.  
  41. The files below are © Nico François:
  42. ------------------------------------
  43.  
  44. Install            Installation script, reqtools.library.
  45. Install.info        Icon for installation script.
  46. Install.script        Installation script, continued.
  47. kick20            Directory for reqtools, kick 2.0 version.
  48. -  reqtools.library    The library file.
  49. kick13            Directory for reqtools, kick 1.3 version.
  50. -  reqtools.library    The library file.
  51.  
  52. Distribution
  53. ------------
  54.  
  55. Amiga Bridge v 1.03 is shareware, NOT public domain.
  56.                       ~~~~~~~~~
  57. It may be freely distributed (as long as all files except Bridge.prefs
  58. are included as is) for non-commercial purposes. However, if you decide
  59. to keep it you really should make a contribution.
  60. Write to:    Erik  Bergersjö
  61.         Fornminnesv. 20
  62.         446 00 Älvängen
  63.         Sweden
  64.  
  65. If possible, send bug-reports to (e-mail) d9erikb@dtek.chalmers.se.
  66.  
  67. Acknowledgements
  68. ----------------
  69.  
  70. I'd like to thank some people for making life easier to live:
  71.  
  72. o Martin Ewaldz        Pascal source to PC bridge (the basics
  73.             for the bidding system).
  74. o Nico François        This version of Amiga Bridge uses reqtools.library
  75.             (© Nico François) for almost all requesters.
  76.  
  77. How hands are valued
  78. --------------------
  79.  
  80. o Honor points (hp).
  81.   ACE => 4 hp, KING => 3 hp, QUEEN => 2 hp, KNIGHT => 1 hp.
  82.   There are a lot of special cases where other values should be
  83.   used. However, for simplicity the special cases are ignored.
  84.  
  85. o Distribution points (dp).
  86.   The calculation of distribution points (as described in the books
  87.   I've read) is complicated. It gives a different number of points
  88.   depending on the progress of the bidding.
  89.   I have chosen a simple approximation:
  90.   All suits with less than 3 cards => (3 - number of cards) dp.
  91.  
  92. o Points (also refered to as "normal points").
  93.   This is the sum of the honor points and the distribution points.
  94.  
  95. o Trick points (tp).
  96.   The number of trick points for a hand depends on the selected trump.
  97.   It represents how many tricks we should be able to secure with
  98.   the specified trump (8 tp <=> 8 probable tricks).
  99.   A table is used to find the offensive value of the honors.
  100.   Suits with more than 3 cards give 0.5 (1 for trump) tp for each
  101.   additional card. Only the integer part is used.
  102.  
  103.   o---------------------o-----------------------o
  104.   | 3        E-K-Q    | 1 1/4        E-Kn-x    |  "x" represents any
  105.   |            |        K-Q-x    |  card less than 10.
  106.   | 2 1/2    E-K-Kn    |            |
  107.   |        E-Q-Kn    | 1        E    |
  108.   |            |        K-Q    |
  109.   | 2 1/4    E-K-10    |        K-Kn-x    |
  110.   |            |        Q-Kn-10    |
  111.   | 2        E-K    |            |
  112.   |        E-Q-10    | 3/4        K-Kn    |
  113.   |        K-Q-Kn    |        K-10-9    |
  114.   |            |            |
  115.   | 1 3/4    E-Kn-10    | 1/2        K-x    |
  116.   |            |        Q-Kn-x    |
  117.   | 1 1/2    E-Q    |        Q-10-9    |
  118.   |        K-Q-10    |            |
  119.   |        K-Kn-10    | 1/4        Q-x    |
  120.   |            |        Kn-10-x    |
  121.   o---------------------o-----------------------o
  122.  
  123.  
  124. The bidding system
  125. ------------------
  126.  
  127. The bidding system is probably the most complex part of Amiga Bridge.
  128. I'm not going to describe it here.
  129. There are two menu items in the "Game" menu ("Opening bids" and
  130. "Response bids") that will help you with details about the implemented
  131. opening & response bids possible.
  132. However, there are other bid classes.
  133.  
  134. o Blackwood (4 NT, 4 NT - ? - 5 NT).
  135.   The first blackwood question asks partner for number of aces,
  136.   the second for number of kings. The second question gives the
  137.   additional information that all the aces are accounted for.
  138.   Amiga Bridge doesn't treat trump king (queen) as an ace (king).
  139.   The responses are:
  140.   4 NT:  5 C <=> 0 or 4 aces, 5 D <=> 1 ace, 5 H <=> 2 aces,
  141.          5 S <=> 3 aces.
  142.   5 NT:  6 C <=> 0 or 4 kings, 6 D <=> 1 king, 6 H <=> 2 kings,
  143.          6 S <=> 3 kings.
  144.  
  145. o Normal bids. A bid that doesn't fit any convention is normal.
  146.  
  147. o Illegal bids. All unsupported bids are illegal. They don't give
  148.   any information whatsoever. The computer never makes illegal bids.
  149.  
  150. To find the correct bid (and to learn the system), experiment!
  151. Make a bid, then select "Display info" from the "Game" menu.
  152. If you made the wrong bid you can always select "Restart" (or
  153. "Restart game" from the "Game" menu) and try again.
  154. You can also select "Auto bidding" from the "Preferences" menu and
  155. bidding will be handled automatically.
  156.  
  157. Preferences
  158. -----------
  159.  
  160. o Computer cheating    When selected, the computer will cheat & look
  161.             at your cards. This results in faster (and
  162.             sometimes better) moves. Normally the computer
  163.             calculates simulated distributions, based on the
  164.             information obtained from bidding.
  165. o Auto bidding        The computer handles the bidding automagically.
  166. o Award honor bonus    In the good old days, bonus points were awarded
  167.             for having all the honors (or all honors in
  168.             trump).
  169. o Delay obvious moves    When an opponent (or your partner, when your
  170.             opponents have claimed a contract) has but one
  171.             card in a suit, the computer doesn't have to
  172.             think, the move is obvious. When this item is
  173.             selected the computer will pretend to think,
  174.             keeping the actual distribution a secret.
  175. o Alternate colors    How do you want your cards to be sorted?
  176.             The hands are not redrawn at once.
  177. o Change colors        Now why would you want to do that?
  178. o Evaluation
  179.   - Number of deals    The number of simulated distributions that should
  180.             be tried. Low values will result in some rash
  181.             moves, but (much) faster evaluation.
  182.             Default setting: 3.
  183.             Personally I use a value of 9. A 25 MHz A3000
  184.             has some benefits...
  185.   - Weight, heuristics    The weight for the heuristic part of the evaluation.
  186.               Amiga Bridge makes a (clever?) guess about the
  187.               best card to play. Default setting: 3.
  188.   - Weight, search    The weight for the search part of the evaluation.
  189.               Each card is tried in turn, the max/min number
  190.               of won tricks is calculated. Default setting: 9.
  191.  
  192. History
  193. -------
  194.  
  195. 09 Dec 1991    First released version (1.0 ß) uploaded to ab20.
  196.  
  197. 27 Dec 1991    Changed from req.library to reqtools.library. Added
  198.         some opening conventions (highest of sequence, rule 11,
  199.         ...). Some bugs in bidding system fixed.
  200.  
  201. 03 Jan 1992    Added code to handle NTSC machines. Unless a PAL screen
  202.         can be opened (with kickstart 1.x I don't know how to
  203.         do that on an NTSC machine) the program will abort.
  204.         Added options 'Delay obvious moves' and
  205.         'Alternate colors'. Version 1.01, uploaded to ab20.
  206.  
  207. 06 Jan 1992    Added support for NTSC machines.
  208.         Kickstart 2.0: If the required hardware is present and
  209.                    a PAL monitor driver is installed, a
  210.                    PAL screen is opened.
  211.                    Note: a PAL monitor driver MUST be present,
  212.                    place PAL in WBStartup!
  213.         Kickstart 1.3: If the required hardware is present Amiga
  214.                    Bridge will ask the user if a PAL or an
  215.                    NTSC screen should be opened.
  216.         Some bugs fixed.
  217.  
  218. 16 Jan 1992    Some code optimizations. Added options to load / save
  219.         distributions. Version 1.02, uploaded to ab20.
  220.  
  221. 20 Jan 1992    Removed the option to switch to PAL on NTSC machines
  222.         running kickstart 1.3. A reset seems to be required to
  223.         make it work properly on all machines.
  224.         I don't like the idea of user-software making resets -
  225.         use a stand-alone PAL converter instead.
  226.         Also, the "normal" version should work with an MC68000
  227.         this time. The last one didn't (due to an error in my
  228.         makefile; one file was optimized for MC68020 => GURU).
  229.         Stupid mistake.    Version 1.03, uploaded to ab20.
  230.  
  231. Comments:
  232. ---------
  233.  
  234. o In NTSC mode, only the upper half of the cards is displayed.
  235.   This makes it difficult to recognise some cards.
  236.   I don't intend to fix this. The risk for playing the wrong card is
  237.   small and there is always the Undo function.
  238. o Extensively tested with enforcer (no results - yet).
  239.  
  240.  
  241. ========================================================================
  242.